package com.tj.shopping.mapper;

import com.tj.shopping.entity.Admin;
import com.tj.shopping.entity.User;

import java.util.List;
import java.util.Map;

public interface AdminMapper {
    List<Admin> findbyid(Map<String,Object> map);

    List<Admin> findall ();

    int update(Admin admin);

    int add(Admin admin);

    Admin login(String aname, String apwd);
}
